package com.company.creature;

import com.company.room.Room;
import com.company.shop.Armor;
import com.company.shop.ArmorShop;
import com.company.shop.Weapon;

/**
 * @description:
 * @author: ZhaoYicong
 * @date: Created in 2020/4/26 10:18
 * @version: v1.0
 * @modified By:
 */
public abstract class Creature {
    private int floor_flag ;//判断是否有资格前往下一层。
    private int hplimit;
    private String id;
    private String name;
    private int hp;
    private Weapon currentWeapon;
    private Room nowRoom;
    private int money;
    private int iniHurt;
    private int mp;
    private Armor armor;


    public abstract void uesrArticle(Creature creature,Weapon weapon, Creature targetCraeture);


    public Creature() {
    }

    public Creature(String id, String name, int hp, int money) {
        this.id = id;
        this.name = name;
        this.hp = hp;
        this.money = money;

    }

    public int getIniHurt() {
        return iniHurt;
    }


    //


    public int getFloor_flag() {
        return floor_flag;
    }

    public void setFloor_flag(int floor_flag) {
        this.floor_flag = floor_flag;
    }

    public int getMp() {
        return mp;
    }

    public void setMp(int mp) {
        this.mp = mp;
    }

    public void setIniHurt(int iniHurt) {
        this.iniHurt = iniHurt;
    }

    public int getHplimit() {
        return hplimit;
    }

    public void setHplimit(int hplimit) {
        this.hplimit = hplimit;
    }

    public Room getNowRoom() {
        return nowRoom;
    }

    public Armor getArmor() {
        return armor;
    }

    public void setArmor(Armor armor) {
        this.armor = armor;
    }

    public void setNowRoom(Room nowRoom) {
        this.nowRoom = nowRoom;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public Weapon getCurrentWeapon() {
        return currentWeapon;
    }

    public void setCurrentWeapon(Weapon currentWeapon) {
        this.currentWeapon = currentWeapon;

    }


}
